#include <stdio.h>
#include <stdlib.h>
#define MYENV "myenv"
int main()
{
    //系统环境变量
    printf("PATH: %s\n",getenv("PATH"));
    printf("PWD: %s\n",getenv("PWD"));
    //自定义环境变量
    printf("myenv: %s\n",getenv(MYENV));

    printf("mybin\n");
    printf("mybin\n");
    printf("mybin\n");
    printf("mybin\n");
    printf("mybin\n");
    printf("mybin\n");
    exit(10);
}
